/*
 * DataGame.java
 *
 * Created on 14 ?????? 2007, 17:20
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package DataFiles;

/**
 * This class keeps all data about a specific game.
 * @author Yotam & Shai
 */

public class DataGame {
      private String dateOfStart;
      private String dateOfFinish;
      private String nameOfPlayer0;
      private String nameOfPlayer1;
      private int numOfGame;
      private String whoLose;

	/**
	 * Creating a new instance of a DataGame.
	 * @param _dateOfStart Game's start date
	 * @param _dateOfFinish Game's finish date
	 * @param _nameOfPlayer0 Player's 0 (Upper) name.
	 * @param _nameOfPlayer1 Player's 0 (Upper) name.
	 * @param _numOfGame Game's serial number
	 * @param _whoLose The name of player that lose the game. 
	 */
      public DataGame(String _dateOfStart, String _dateOfFinish ,
          String _nameOfPlayer0,String _nameOfPlayer1,int _numOfGame,String _whoLose){
          dateOfStart = _dateOfStart;
          dateOfFinish = _dateOfFinish;
          nameOfPlayer0 = _nameOfPlayer0;
          nameOfPlayer1 = _nameOfPlayer1;
          numOfGame = _numOfGame;
          whoLose = _whoLose;
      }
       

    public String getDateOfStart() {
        return dateOfStart;
    }

    public void setDateOfStart(String dateOfStart) {
        this.dateOfStart = dateOfStart;
    }

    public String getDateOfFinish() {
        return dateOfFinish;
    }

    public void setDateOfFinish(String dateOfFinish) {
        this.dateOfFinish = dateOfFinish;
    }

    public String getNameOfPlayer0() {
        return nameOfPlayer0;
    }

    public void setNameOfPlayer0(String nameOfPlayer0) {
        this.nameOfPlayer0 = nameOfPlayer0;
    }

    public String getNameOfPlayer1() {
        return nameOfPlayer1;
    }

    public void setNameOfPlayer1(String nameOfPlayer1) {
        this.nameOfPlayer1 = nameOfPlayer1;
    }

    public int getNumOfGame() {
        return numOfGame;
    }

    public void setNumOfGame(int numOfGame) {
        this.numOfGame = numOfGame;
    }

    public String getWhoLose() {
        return whoLose;
    }

    public void setWhoLose(String whoLose) {
        this.whoLose = whoLose;
    }
    
}
